Phase detector

ABSTRACT

An alternative phase detector without the need for direct phase measurement is provided. The phase detector comprises three signal inputs (S 1 , S 2 , S 3 ), a ratio determination circuit (RDC) for determining at least two ratios of the respective input signals, and a calculation circuit (CC) to derive a measure of a phase difference between at least two input signals.

The present invention relates to phase detectors that may be used in impedance measurement systems, e.g. for determining the impedance of a signal path in a wireless communication device.

Impedance information provided by such an impedance measurement system could be used to match the impedance of the signal path.

TECHNICAL BACKGROUND

Impedance measurement systems can be used to determine the actual impedance of a signal path when the signal path has an impedance that depends on external conditions. In other words: when the signal path has a variable load impedance. In the case of mobile communication devices, the variable load impedance can be an antenna in a changing environment.

The transmission coefficient for transferred power can be optimized by tuning the signal line's impedance based on impedance information provided by an impedance measurement system.

Convention impedance measurement systems, e.g. known from patent application U.S. Pat. No. 6,822,433, use two RSSI-chains to measure the levels of two signals. An additional conventional phase detector is needed to measure the phase between the two signals.

It is an object of the present invention to provide a phase detector that allows improved impedance measurement systems.

On that account, a phase detector according to independent claim 1 is provided. Dependent claims provide preferred embodiments of the invention.

SUMMARY OF THE INVENTION

A phase detector comprises a first signal input determined to receive a first signal S₁, a second signal input determined to receive a second signal S₂ having a phase difference α relative to the first signal S₁ and a third signal input determined to receive a third signal S₃. The phase detector further comprises a ratio determination circuit for determining at least two magnitude ratios selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁| or the respective inverse ratios. Further, the phase detector comprises a calculation circuit determined to derive a measure of the phase difference α by evaluating the two ratios obtained from the ratio determining circuit. To provide the measure of the phase difference α, the phase detector comprises a signal output.

The present invention is mainly based on ideas to provide a phase detector for determining phase information of a signal propagating in a signal path as shown in FIG. 2.

Especially, the invention is based on the fact that the inventors have found a geometric correlation between signal levels and phase information on one hand and electric circuitry that allows to make use of this correlation on the other hand.

Such a detector circuit may be used in an impedance measurement system for a signal path shown in FIG. 2. The signal path SP may be connected to an antenna having a variable load impedance. Such an antenna and its load impedance is represented by an impedance Z_(x). Further, the signal path SP comprises a sensing impedance Z_(sense) which may be an inductive element IE. V₂₀ denotes the voltage drop across the load impedance Z_(x). V₁₂ denotes the voltage drop across the impedance Z_(sense). V₁₀ is the sum of the voltages V₂₀ and V₁₂: V₁₀=V₂₀+V₁₂. Thus, the impedance of the signal path SP equals the load impedance Z_(x) plus the sensing impedance Z_(sense) which may be a known impedance. From FIG. 2, it is clear that Z=Z_(sens) V₁₀/V₁₂ where V₁₀ and V₁₂ are voltages representable as complex numbers.

In one embodiment, the first signal S₁, the second signal S₂, and the third signal S₃ are voltage or current signals. However, other signals are possible, too.

The total impedance Z of the signal path SP is the sum of Z_(sense) and Z_(x). Calculation results in Z=Z_(sense) V₁₀/V₁₂.

V₁₀ can be regarded as a complex voltage: V₁₀=|V₁₀| exp(jωt). Then, V₁₂=|V₁₂| exp(j(ωt+φ). Accordingly, V₁₀/V₁₂=|V₁₀|/|V₁₂| exp (jφ) where φ is the phase difference between V₁₂ and V₁₀. The quantities V₁₂, V₁₀, and V₂₀ are shown in a complex plane view in FIG. 8. Depending on which phase difference (selected from α, β, γ) between input signals is assigned with phase differences ψ, φχ between the voltages V₁₀, V₂₀, and V₁₂, it is possible that α corresponds to ψ, β corresponds to φ and γ corresponds to χ. It is possible that γ=180°−β−α. In particular, it is possible that S₁=S₂+S₃.

As Z is the unknown impedance of the signal path and Z_(sense) is known, the problem of obtaining the actual value for Z is reduced to the problem of obtaining the ratio V₁₀/V₁₂. This ratio is known by measuring the ratio of two signal amplitudes |V₁₀|/|V₁₂| and the phase difference φ. In contrast to the phase detector contained in the circuits of U.S. Pat. No. 6,822,433, the phase detector of the present invention is based on the idea that each set of two ratios of the above cited ratios intrinsically contains information about the phase difference φ. Thus, after the ratio determination circuit determined at least two of these ratios, a calculation circuit can evaluate the two ratios and determine a measure of the phase difference φ.

The complexity of the implementation of the phase detector is reduced when the signals S₁, S₂, and S₃ are voltage or current signals. Thus, in one embodiment, the first signal S₁, the second signal S₂, and the third signal S₃ are voltage or current signals.

In one embodiment, one of the signals S₁, S₂, and S₃ is the sum of the respective other two signals. It is, for example, possible that S₁=S₂ +S₃.

In one embodiment, thus, the first signal S₁ is a voltage V₁₀ measured across the serial connection of the sensing impedance Z_(sense) and the further impedance Z_(x). The second signal S₂ is a voltage V₂₀ measured across the sensing impedance Z_(sense). The third signal S₃ is a voltage V₁₂ measured across the further impedance Z_(x).

This embodiment corresponds to the equivalent circuit diagram of FIG. 2.

In one embodiment, the cosine of α is the measure for the phase α. Thus, the calculation circuit determines cosine α by evaluating the two ratios obtained from the ratio determining circuit.

In one embodiment, the ratio determination circuit works in the analog domain. However, it is possible that the ratio determination circuit works in the digital domain and the phase detector comprises an analog/digital converter.

It is possible that the calculation circuit works in the analog domain and it is possible that the calculation circuit works in the digital domain. When the calculation circuit works in the digital domain, it is preferred that the phase detector comprises an analog/digital converter. Then, the analog/digital converter can provide the calculation circuit working in the digital domain with the respective digital input signals.

In one embodiment, the ratio determination circuit comprises one, two, or three RSSI-chains (RSSI=Received Signal Strength Indicator) determined to provide a signal that is proportional to a logarithm of a signal selected from: the first signal S₁, the second signal S₂, and the third signal S₃.

Such an RSSI-chain can comprise a chain of amplifiers, e.g. limiter amplifiers, where a signal level indicator signal is derived from that is proportional to the logarithm of its input signal. A ratio, e.g. of voltages, can easily be obtained by subtracting an RSSI-chain output of the denominator from an RSSI-chain output of the numerator as a consequence of the addition theorem of the exponential function. If each output of the RSSI-chain has the same offset, the respective offset is eliminated by the subtraction.

Further, the cosine rule allows to obtain the cosine of phase difference φ by addition and subtraction of the above-mentioned ratios. As a result:

2 cos α=|S ₁ |/|S ₂ |+|S ₂ |/|S ₁|−(|S ₃ |/|S ₁ | |S ₃ |/|S ₂|).   (eqn. 1)

Thus, the phase detector can easily provide information about the phase difference α without the need of directly measuring the phase difference α. Only one RSSI-chain is needed to determine a logarithm of an input signal and an adding or subtracting circuit is needed to determine the cosine of α by evaluating the logarithms of the input values provided by the RSSI-chain.

Thus, in one embodiment, the ratio determination circuit comprises one or two or three subtraction circuits.

In one embodiment, the ratio determination circuit provides a signal that is proportional to a logarithm of a ratio selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|. Of course, the inverse ratios of the above-mentioned ratios are also possible to obtain the correct results.

In one embodiment, the ratio determination circuit provides two or three signals that are proportional to a logarithm of ratios selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|.

Thus, when more than one ratio determination circuit is provided, the respective logarithms of ratios can be derived simultaneously.

In one embodiment, the ratio determination circuit comprises an exponential circuit determined to provide a signal that is proportional to the exponential function exp (signal_(input)) of an input signal signal_(input) thereof. Thus, with equation 1 and

V _(p) =V _(RSSI, S1) −V _(RSSI, S2) =c log (|S ₁ |/|S ₂|),   (eqn. 2)

V _(q) =V _(RSSI, S3) −V _(RSSI, S2) =c log (|S ₃ |/|S ₂|)   (eqn. 3)

the cosine rule can be rewritten as:

2 cos φ=10^(Vp/c)+10^(−Vp/c)−10^((2Vq−Vp)/c))   (eqn. 4)

where V_(RSSI, S1), V_(RSSI, S2) and V_(RSSI, S3) are the output signals of RSSI-chains fed with the signals S₁, S₂, and S₃ respectively.

In one embodiment, the exponential circuit comprises a bipolar differential stage.

If the values V_(P) and V_(q) according to equations 2 and 3 are amplified with a factor V_(T) ln (10)/c (where V_(T) is the thermal voltage k_(B)T/q (with k_(B) being the Bolzman's Constant, T the absolute temperature in Kelvin and q the electron charge), signals are obtained that can be fed into the bipolar differential stages.

c can be made proportional to V_(T). Then, V_(T) ln (10)/c becomes a number. If the products V_(p) V_(T) ln (10)/c and V_(q) V_(T) ln (10)/c are fed into the input of the bipolar differential stage then ratios of collector currents K_(p)=I_(C1)/I_(C2)=|V₁₀|/|V₁₂| and K_(q)=I_(C1)/I_(C2)=|V₂₀|/|V₁₂| are obtained.

Thus, the ratio of the input levels of the RSSI-chains is transferred linearly to the output collector current ratio. The measure for the phase difference φ can then be expressed in the two dimensionless numbers K_(P) and K_(q:)

2 cos α=K _(p)+1/K _(p) −K _(q) ² /K _(p).   (eqn. 5)

In one embodiment, chopping is utilized to improve the accuracy. In this context, chopping denotes determination of one ratio in one phase using two RSSI-chains and measure the same in the next phase with swapped RSSI-chains. The average value of these measurements is free of offsets of the RSSI-chains.

In one embodiment, the phase detector comprises RF-switches in a selection circuit to select an input signal for the ratio determination circuit.

Three input signals allow to combine three different ratios of the signals when their respective inverse ratios are neglected. However, a reduced number of determination circuits, e.g. only one or two determination circuits, can be sufficient when a selection circuit is utilized to feed a respective input signal into the one or two determination circuits. For that, RF-switches can be utilized.

When three input signals are available, two ratios are independent. A third ratio is a ratio of the first two ratios. Thus, it can be sufficient to work with only two ratios. However, it is possible that the third ratio is measured and utilized to improve the accuracy of the other two ratios.

Thus, in one embodiment, the ratio determination circuit determines three ratios and one ratio is utilized to improve the accuracy of the other two ratios.

In one embodiment, the phase detector comprises one or two switching circuits and a signal memory. When a signal memory is used to store information, e.g. voltage or current information, the same calculation circuit or ratio determination circuit can be utilized to process data from the different sources one after the other. Thus, the number of RSSI-chains, ratio determination circuits or calculation circuits can be reduced.

In one embodiment, the phase detector provides information about positive ratios selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|, provides information about the phase difference α, and is an impedance detector. Thus, by not only providing phase information but also providing information about the ratios of voltages themselves, a fully functional impedance detector is obtained.

In one embodiment, the calculation circuit utilizes a lookup table. The lookup table can comprise sampled versions for cos α in one column and the respective value for α in a second column. Then, α can directly be provided instead of cos α as the measure for α.

Examples of the phase detector, its basic principles and ideas are shown in the schematic figures.

SHORT DESCRIPTION OF THE FIGURES

FIG. 1 shows that phase information is obtained by processing ratio information.

FIG. 2 shows an equivalent circuit diagram of a signal path comprising an unknown load impedance Z_(x) and a sensing impedance Z_(sense).

FIG. 3A shows an embodiment of the phase detector comprising a ratio determination circuit RDC, a calculation circuit CC, and an analog/digital converter ADC.

FIG. 3B shows an embodiment of a phase detector where an analog/digital converter ADC is connected between a ratio determination circuit RDC and a calculation circuit CC.

FIG. 3C shows an embodiment of a phase detector PD where an analog/digital converter ADC is connected before a ratio determination circuit RDC.

FIG. 4 shows an embodiment of a phase detector comprising two RSSI-chains, an analog/digital converter ADC, and a calculation circuit CC.

FIG. 5 shows an embodiment of the phase detector where the ratio determination circuit RDC comprises three RSSI-chains which are fed by pre-amplifiers.

FIG. 6 shows the association of signals and their respective signal inputs of RSSI-chains of an embodiment of a phase detector.

FIG. 7 shows an embodiment of a phase detector comprising a switching circuit SW₁ between pre-amplifiers and RSSI-chains and another switching circuit SW₂ between the RSSI-chains and an additional analog circuit AC.

FIG. 8 shows fundamental correlations between the different input signals.

DETAILED DESCRIPTION

FIG. 1 shows the basic principle of the phase detector PD: three input signals S₁, S₂, S₃ can be utilized to derive phase information. The three input signals S₁, S₂, S₃ could be voltages. Phase information could be the phase difference α between S₂ and S₁. On that account, the phase detector PD comprises a ratio determining circuit RDC having a first, a second, and a third signal input SI₁, SI₂, SI₃. For the three signals S₁, S₂, and S₃, the three ratios: |S₁|/|S₂|, |S₂|/|S₃|, and |S₃|/|S₁| (and the respective inverse values) can be combined. It is the central idea of the present invention to utilize the—relatively easily obtainable—ratios to obtain phase information. In principle, only two of the three ratios are necessary to obtain phase information because one of the three ratios is the ratio between the respective other two ratios. The ratio determination circuit determines the respective ratios and provides them to a calculation circuit CC. The calculation circuit CC derives the phase information from the ratios. The phase information can be a value that is proportional to the cosine of the phase difference α. However, it is possible that the calculation circuit directly provides the phase difference α at a signal output SO.

Thus, only ratios need to be determined and phase information is obtained. No direct measurement of a phase information such as the phase difference between two input signals is necessary.

FIG. 2 schematically shows a signal path SP in which radio frequency signals may travel. A potentially variable load impedance is denoted as Z_(x). Further, the signal path SP comprises a sensing element Z_(sense) needed for determining phase information. The sensing impedance Z_(sense) could be established by an inductive element IE. S₁, S₃, and S₂ could be the voltage, i.e. the potential differences, between the potentials P₀, P_(l), and P₂. Also, other types of sensing elements can be used.

In the circuit shown in FIG. 2, when the signals S₁, S₂, and S₃ are voltages, then S₁=S₂+S₃.

FIG. 3A shows an embodiment of the phase detector PD comprising a ratio determination circuit RDC, a calculation circuit CC and an analog/digital converter ADC. The calculation circuit CC obtains ratio information from the ratio determination circuit RDC and provides analog phase information to the analog/digital converter ADC. The analog/digital converter ADC provides a digital output of the phase information at the signal output SO.

FIG. 3B shows an alternative embodiment of the phase detector compared to FIG. 3A where the analog/digital converter ADC is connected between the ratio determination circuit RDC and the calculation circuit CC. In this embodiment, the calculation circuit CC works in the digital domain while in the embodiment according to FIG. 3A, the calculation circuit CC works in the analog domain.

FIG. 3C shows an embodiment of the phase detector PD where the ratio determination circuit RDC is connected between the analog/digital converter ADC and the calculation circuit CC. The analog/digital converter ADC is directly connected to the signal inputs SI₁, SI₂, SI₃. In this embodiment, the ratio determination circuit and the calculation circuit CC work in the digital domain.

FIG. 4 shows an embodiment of the phase detector PD comprising a first RSSI-chain RSSI₁ and a second RSSI-chain RSSI₂. Each RSSI-chain can provide a signal that is mainly proportional to a logarithm of an input signal. Two of the three input signals S₁, S₂, and S₃ are fed into the RSSI-chains. Due to the addition theorem of the exponential function, the difference between the logarithmic values of the input signals corresponds to the logarithmic value of the respective ratio of the original input signals. Thus, the logarithmic value of the ratio is provided to the analog/digital converter ADC.

For obtaining phase information, two ratios are necessary. However, different ratios can be provided by the two RSSI-chains one after the other. Then, the calculation circuit CC can determine the phase information based on the signals derived from the RSSI-chains.

FIG. 5 shows an embodiment of a phase detector where the ratio determination circuit RDC comprises three RSSI-chains. The ratio determination circuit RDC further comprises two subtraction circuits. Each subtraction circuit is connected to two RSSI-chains. Thus, two ratio information signals (to be more precise: two signals being proportional to the logarithmic values of the respective ratios) can be provided to the analog/digital converter ADC.

The phase detector shown in FIG. 5 further comprises pre-amplifiers PRA between the signal inputs and the RSSI-chains. The pre-amplifiers PRA can be utilized to scale the level of the input signals to a level that is compatible with the dynamic RSSI-range of the RSSI-chains.

FIG. 6 shows the correlation between the three RSSI-chains and the respective input signal: the first input signal S₁ can be fed into the first RSSI-chain RSSI₁. The second input signal S₂ can be fed into the second RSSI-chain RSSI₂. The third input signal S₃ can be fed into the third RSSI-chain RSSI₃.

Then, two ratios can be delivered simultaneously to the following circuitry. In addition to the embodiments shown in

FIGS. 5 and 6, it is possible to provide a respective third subtraction circuit connected to the first RSSI-chain RSSI₁ and the third RSSI-chain RSSI₃ to provide the third ratio which can be utilized to increase the accuracy of the phase detector.

However, chopping methods where an average value between a ratio obtained from two RSSI-chains and the inverse ratio obtained from exchanged RSSI-chains are utilized can be used to increase the accuracy, too. Then, especially offsets or distortions by non optimal proportional factors of the RSSI-chains are easily reduced or eliminated.

FIG. 7 shows an embodiment of a phase detector comprising a first switching circuit SW₁ and a second switching circuit SW₂. The first switching circuit is connected between pre-amplifiers PRA and the RSSI-chains. The second switching circuit SW₂ is connected between the RSSI-chains and subsequent circuitry, such as an additional circuitry AC, an analog/digital circuit ADC and a calculation circuit CC.

Although in principle two ratios have to be measured and therefore three RSSI-chains are needed, two RSSI-chains—with or without chopping—or a single RSSI-chain without chopping can be utilized in combination with a switching circuit. Then, the switching circuit electrically connects the respective signal input to the one or two RSSI-chains.

The additional circuitry AC can comprise the subtraction circuits or circuits providing an exponential transfer function and thus restoring the original signal level on which logarithmic functions by the RSSI-chains were performed.

FIG. 8 shows the correlations between the input signals S₂, S₁, S₃. S₂ could be the voltage drop V₁₂ across the sensing element Z_(sense), which may be an inductive element. S₁ may be the voltage V₁₀ between the input of the signal path and a ground potential. S₃ is the voltage drop V₁₂ across the unknown load impedance Z_(x). Then, V₁₀ is the sum of voltages V₂₀ and V₁₂. Accordingly, the three voltages establish a triangle defined by the length of the vectors and the respective angles. Assuming that the rules of Euclidian geometry is valid, the cosine of each angle is determined by the ratios of the respective side lengths of the triangle.

As a result of the inventors' findings, an alternative phase detector is provided that makes direct phase measurement dispensible.

The phase detector is not limited to the embodiments described in the specification or shown in the figures. Phase detectors comprising further elements such as further RSSI-chains, calculation circuits, analog/digital converters or amplifiers or combinations thereof are also comprised by the present invention. The features shown above do not exclude each other. The phase detector can comprise each feature in combination with other features.

LIST OF REFERENCE SYMBOLS

-   α, β, γ: phase differences between input signals S₁, S₂, S₃ -   a: length of triangle side representing S2 -   ADC: analog/digital converter -   b: length of triangle side representing S3 -   c: length of triangle side representing S1 -   CC: calculation circuit -   IE: inductive element -   P₀, P₁, P₂: first, second, third potential -   PD: phase detector -   PRA: pre-amplifier -   RDC: ratio determination circuit -   RSSI₁: first RSSI-chain -   RSSI₂: second RSSI-chain -   RSSI₃: third RSSI-chain -   SC: Subtraction circuit -   SI₁, SI₂, SI₃: first, second, third signal input -   SO: signal output -   SP: signal path -   SW₁, SW₂: first, second switching circuit -   φ, χ, ψ: phase differences between voltages V₁₀, V₁₂, V₂₀ -   S₁, S₂, S₃: first, second, third input signal -   Z: total impedance Z_(sense)+Z_(x) -   Z_(sens): sensing impedance -   Z_(x): load impedance 

1. A phase detector, comprising: a first signal input determined to receive a first signal S₁; a second signal input determined to receive a second signal S₂ having a phase difference α relative to the first signal S₁; a third signal input determined to receive a third signal S₃; a ratio-determination circuit for determining 2 ratios selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|; a calculation circuit determined to derive a measure of a phase difference between the input signals by evaluating the two ratios obtained from the ratio-determining circuit; and a signal output determined to provide the measure of the phase difference.
 2. The phase detector of claim 1, wherein the first signal S₁, the second signal S₂ and third signal S₃ are voltage or current signals.
 3. The phase detector of claim 1, wherein one of the signals S₁, S₂, S₃ is the sum of the respective other two signals.
 4. The phase detector of claim 1, wherein: the first signal S₁ is a voltage V₁₀ across a serial connection of a sensing impedance Z_(sense) and a further impedance Z_(x); the second signal S₂ is a voltage V₂₀ across the sensing impedance Z_(sense); and the third signal S₃ is a voltage V₁₂ across to the further impedance Z_(x).
 5. The phase detector of claim 1, wherein cos α is the measure for the phase difference α.
 6. The phase detector of claim 1, wherein: the ratio-determination circuit works in one of the analog domain and the digital domain; and the phase detector comprises an analog/digital-converter.
 7. The phase detector of claim 1, wherein the calculation circuit works in one of the analog domain and the digital domain; and the phase detector comprises an analog/digital-converter.
 8. The phase detector of claim 1, wherein the ratio-determination circuit comprises one, two, or three RSSI-chains determined to provide a signal that is proportional to a logarithm of a signal selected from: the first signal S₁, the second signal S₂, and the third signal S₃.
 9. The phase detector of claim 1, wherein the ratio-determination circuit comprises one or two or three subtraction circuits.
 10. The phase detector of claim 1, wherein the ratio-determination circuit provides a signal that is proportional to a logarithm of a ratio selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|.
 11. The phase detector of claim 1, wherein the ratio-determination circuit provides two or three signals that are proportional to a logarithm of ratios selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃|/|S₁|.
 12. The phase detector of claim 1, wherein the ratio-determination circuit comprises an exp-circuit determined to provide a signal that is proportional to the exponential function of an input signal thereof.
 13. The phase detector of claim 12, wherein the exp-circuit comprises a bipolar differential stage.
 14. The phase detector of claim 1, wherein the ratio-determination circuit comprises one, two, or three preamplifiers determined to amplify at least one of the signals (S₁, S₂, S₃).
 15. The phase detector of claim 1, wherein the ratio-determination circuit is determined to provide 2 positive signals selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃/|S₁|.
 16. The phase detector of claim 1, wherein chopping is utilized to improve the accuracy.
 17. The phase detector of claim 1, further comprising RF-switches in a selection circuit to select an input signal for the ratio-determination circuit.
 18. The phase detector of claim 1, wherein: the ratio-determination circuit determines 3 ratios: |S₁|/|S₂|, |S₂/|S₃|, and |S₃|/|S₁|; and one ratio is utilized to improve the accuracy of the other two ratios.
 19. The phase detector of claim 1, one of the previous claims, further comprising one or two switching circuits and a signal memory.
 20. The phase detector of claim 1, wherein the phase detector; provides information about a positive ratio selected from: |S₁|/|S₂|, |S₂|/|S₃|, |S₃/|S₁|; provides information about the phase difference α; and is an impedance detector.
 21. The phase detector of claim 1, wherein the calculation circuit utilizes a lookup table. 